package com.wunong.smart.algorithm.simple.heap;

/**
 * 栈
 *
 * @author created by zealot.zt
 */
public interface Stackable<T> {

    /**
     * 是否入栈
     *
     * @param ele
     * @param top
     * @return
     */
    boolean needPush(T ele, T top);

}
